//
//  CCObjcCommonMacros.h
//  CCFC_IPHONE
//
//  Created by 陈曦 xichen2 on 10-12-18.
//  Copyright 2010 iFLYTEK. All rights reserved.
//
#ifndef	CC_OBJC_COMMON_MACROS
#define	CC_OBJC_COMMON_MACROS	

#include "CCAll.h"
#ifdef	OBJC_MACRO
#import <Foundation/Foundation.h>

// 对象初始化的通用宏
#define	MACRO_OBJ_INIT_START_FUNC		\
			if(!(self = [super init]))	\
			{	\
				return nil;	\
			}	

#define	MACRO_OBJ_INIT_END_FUNC		return self;

@interface CCObjcCommonMacros : NSObject 
{

}

@end

#endif	//OBJC_MACRO
#endif	//CC_OBJC_COMMON_MACROS
